package gui;
import javax.swing.JButton;
import java.awt.GridBagConstraints;
import java.awt.Insets;
import java.awt.GridBagLayout;


public class VPerfilPropio extends VPerfil {

	/**
	 * Create the panel.
	 */
	public VPerfilPropio() {
		GridBagLayout gridBagLayout = (GridBagLayout) getLayout();
		gridBagLayout.rowWeights = new double[]{0.0, 0.0, 0.0, 0.0};
		gridBagLayout.columnWeights = new double[]{0.0, 0.0, 0.0};
		
		JButton btnModificar = new JButton("Modificar");
		GridBagConstraints gbc_btnModificar = new GridBagConstraints();
		gbc_btnModificar.insets = new Insets(0, 0, 5, 5);
		gbc_btnModificar.gridx = 1;
		gbc_btnModificar.gridy = 0;
		add(btnModificar, gbc_btnModificar);
		
		JButton btnDarseDeBaja = new JButton("Darse de Baja");
		GridBagConstraints gbc_btnDarseDeBaja = new GridBagConstraints();
		gbc_btnDarseDeBaja.insets = new Insets(0, 0, 5, 0);
		gbc_btnDarseDeBaja.gridx = 2;
		gbc_btnDarseDeBaja.gridy = 0;
		add(btnDarseDeBaja, gbc_btnDarseDeBaja);
		
		JButton btnCrearLista = new JButton("Crear Lista");
		GridBagConstraints gbc_btnCrearLista = new GridBagConstraints();
		gbc_btnCrearLista.insets = new Insets(0, 0, 5, 5);
		gbc_btnCrearLista.gridx = 1;
		gbc_btnCrearLista.gridy = 1;
		add(btnCrearLista, gbc_btnCrearLista);
		
		VSuscripciones suscripciones = new VSuscripciones();
		GridBagConstraints gbc_suscripciones = new GridBagConstraints();
		gbc_suscripciones.insets = new Insets(0, 0, 5, 0);
		gbc_suscripciones.gridheight = 3;
		gbc_suscripciones.fill = GridBagConstraints.VERTICAL;
		gbc_suscripciones.gridx = 2;
		gbc_suscripciones.gridy = 1;
		add(suscripciones, gbc_suscripciones);

	}

}
